package com.bdqn.t382.pojo;

import java.util.Date;

public class User implements java.io.Serializable {
    private int id;
    private String username;
    private Boolean ok;
    private char sex;
    private Date birthday;
    private Float salary;
    private String[] strTechs; // 字符串数组

    // Getters and Setters

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", birthday=" + birthday +
                ", sex=" + sex +
                ", salary=" + salary +
                ", ok=" + ok +
                ", strTechs=" + java.util.Arrays.toString(strTechs) +
                '}';
    }

    public String[] getStrTechs() {
        return strTechs;
    }

    public void setStrTechs(String[] strTechs) {
        this.strTechs = strTechs;
    }

    public User() {
}

    public User(int id, String username, Boolean ok, char sex, Date birthday, Float salary, String[] strTechs) {
        this.id = id;
        this.username = username;
        this.ok = ok;
        this.sex = sex;
        this.birthday = birthday;
        this.salary = salary;
        this.strTechs = strTechs;
    }

    public int getId() {
    return id;
}

public void setId(int id) {
    this.id = id;
}

public String getUsername() {
    return username;
}

public void setUsername(String username) {
    this.username = username;
}

public Boolean getOk() {
    return ok;
}

public void setOk(Boolean ok) {
    this.ok = ok;
}

public char getSex() {
    return sex;
}

public void setSex(char sex) {
    this.sex = sex;
}

public Date getBirthday() {
    return birthday;
}

public void setBirthday(Date birthday) {
    this.birthday = birthday;
}

public Float getSalary() {
    return salary;
}

public void setSalary(Float salary) {
    this.salary = salary;
}
}
